package org.javaboy.meeting.service;

import org.javaboy.meeting.mapper.ChangePasswordMapper;
import org.javaboy.meeting.utils.Md5;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChangePasswordService {
    @Autowired
    ChangePasswordMapper changePasswordMapper;
    public int updatePassword(String newpassword,int employeeid){
        newpassword = Md5.KL(newpassword);
        return changePasswordMapper.updatePassword(newpassword,employeeid);
    }
}
